<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>bash</Name>
        <Homepage>http://www.gnu.org/software/bash/bash.html</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>The standard GNU Bourne again shell</Summary>
        <Description>Bash is the GNU Project's Bourne Again SHell, a complete implementation of the IEEE POSIX and Open Group shell specification with interactive command line editing, csh-like features such as history substitution.</Description>
        <Archive sha1sum="a799460be16c01aeab492b9aa88f5eb7f35c1b9b" type="targz">mirrors://gnu/bash/bash-5.2.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>ncurses-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- Official Patches -->

            <Patch>official/bash52-001.patch</Patch>
            <Patch>official/bash52-002.patch</Patch>
            <Patch>official/bash52-003.patch</Patch>
            <Patch>official/bash52-004.patch</Patch>
            <Patch>official/bash52-005.patch</Patch>
            <Patch>official/bash52-006.patch</Patch>
            <Patch>official/bash52-007.patch</Patch>
            <Patch>official/bash52-008.patch</Patch>
            <Patch>official/bash52-009.patch</Patch>
            <Patch>official/bash52-010.patch</Patch>
            <Patch>official/bash52-011.patch</Patch>
            <Patch>official/bash52-012.patch</Patch>
            <Patch>official/bash52-013.patch</Patch>
            <Patch>official/bash52-014.patch</Patch>
            <Patch>official/bash52-015.patch</Patch>

        <!-- Fedora patches -->
<!--             <Patch level="1">fedora/bash-2.03-paths.patch</Patch> -->
            <Patch level="1">fedora/bash-2.03-profile.patch</Patch>
            <Patch level="1">fedora/bash-2.05a-interpreter.patch</Patch>
            <Patch level="1">fedora/bash-2.05b-debuginfo.patch</Patch>
            <Patch level="1">fedora/bash-2.05b-pgrp_sync.patch</Patch>
            <Patch level="1">fedora/bash-3.2-audit.patch</Patch>
            <Patch level="1">fedora/bash-3.2-ssh_source_bash.patch</Patch>
            <Patch level="1">fedora/bash-4.0-nobits.patch</Patch>
            <Patch level="1">fedora/bash-4.1-broken_pipe.patch</Patch>
            <Patch level="1">fedora/bash-4.1-examples.patch</Patch>
            <Patch level="1">fedora/bash-4.2-coverity.patch</Patch>
            <Patch level="1">fedora/bash-4.2-manpage_trap.patch</Patch>
            <Patch level="1">fedora/bash-4.2-rc2-logout.patch</Patch>
            <Patch level="1">fedora/bash-4.2-size_type.patch</Patch>
            <Patch level="1">fedora/bash-4.3-man-ulimit.patch</Patch>
            <Patch level="1">fedora/bash-4.3-memleak-lc_all.patch</Patch>
            <Patch level="1">fedora/bash-4.3-noecho.patch</Patch>
            <Patch level="1">fedora/bash-4.4-no-loadable-builtins.patch</Patch>
            <Patch level="1">fedora/bash-5.0-syslog-history.patch</Patch>
            <Patch level="1">fedora/bash-requires.patch</Patch>
            <Patch level="1">fedora/bash-setlocale.patch</Patch>
            <Patch level="1">fedora/bash-tty-tests.patch</Patch>
            
        </Patches>
    </Source>

    <Package>
        <Name>bash</Name>
        <RuntimeDependencies>
            <Dependency>ncurses</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/bin</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="info">/usr/share/info</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/bash/bashrc">bashrc</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/profile.d/command-not-found.sh">command-not-found.sh</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="14">
            <Date>2023-01-28</Date>
            <Version>5.2.15</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2022-12-15</Date>
            <Version>5.2.15</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2022-05-05</Date>
            <Version>5.1.16</Version>
            <Comment>Version bump.</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2021-07-26</Date>
            <Version>5.1.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
		<Update release="10">
            <Date>2021-03-01</Date>
            <Version>5.1.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
		<Update release="9">
            <Date>2020-12-09</Date>
            <Version>5.0.18</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
		<Update release="8">
            <Date>2019-12-11</Date>
            <Version>5.0.11</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2018-11-28</Date>
            <Version>4.4.18</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-07-15</Date>
            <Version>4.4.11</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2017-01-29</Date>
            <Version>4.4.11</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-01-06</Date>
            <Version>4.3_p48</Version>
            <Comment>Rebuild with new toolchain.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-11-12</Date>
            <Version>4.3_p48</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>4.3_p39</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-28</Date>
            <Version>4.3_p39</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
